<!DOCTYPE html>
<<<<<<< HEAD
<html lang="zh-cn">

<head>
    <title>HTML转换Markdown</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div id="InputBox" class="clearfix">
        <textarea id="htmlString" class="tarea" onchange="" placeholder="htmlString"></textarea>
        <textarea id="markdownString" class="tarea" placeholder="markdownString"></textarea>
        <button type="button" id="convert" class="convert" onclick="exce()">Convert</button>
    </div>
    <script src="html2md.js"></script>
    <script>
        function exce() {
            document.getElementById("markdownString").value = html2mk(document.getElementById("htmlString").value);
        }
    </script>
</body>

</html>
